<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Verificar Poderes</title>

<script>
       function validarCampos(){
         var n = document.apoder.txtruc.value;
         var c = document.apoder.txtdni.value;
         var o = document.apoder.opcion.value;
         var d = document.apoder.txtbusqueda.value;

         if (n == "")
         {
            alert('Ingrese RUC de Cliente');
            return false;
         } else if( c == ""){
            alert('Ingrese identificacion del Representante');
            return false;
         }else if( o == " "){
             alert('Elija Codigo de Poder');
             return false;
  
         }else if( d == ""){
            alert('Ingrese Importe');
            return false;
         }
         
         return true;
       }
    </script>
<link href="css/stylescheet.css" rel="stylesheet" type="text/css" />
</head>


<body>

<form name="apoder" action="" method="post" onSubmit="return validarCampos();">
     <table width="100%">
				<tr>     
                <td colspan="2" valign="top">
     
                <div class="title">Verificar  Poderes</div>                </td>
                </tr>
                <tr>
                  <td width="19%" valign="top">&nbsp;</td>
                  <td width="81%" align="left">&nbsp;</td>
                </tr>
                <tr>
                  <td valign="top">RUC del cliente</td>
                  <td align="left"><input type="text" name="txtruc" id="txtnombre2" /></td>
                </tr>
                <tr>
                  <td valign="top">Identificacion del representante</td>
                  <td align="left"><input type="text" name="txtdni" id="txtnombre4" /></td>
                </tr>
                <tr>
                  <td valign="top">Codigo del Poder</td>
                  <td align="left">
               
               <select name="opcion">
			<option value="1"> </option>
			<option value="2">Poder 1</option>
			<option value="3">Poder 2</option>	
			</select>                 
                  
               
				</td>
                </tr>
                
                <tr>
                  <td valign="top">Importe</td>
                  <td align="left">
                  
                                                   
                  <input type="text" name="txtbusqueda" id="txtnombre4"></td>
                </tr>
                
                
                
                <tr>
                  <td valign="top">&nbsp;</td>
                  <td align="left"><label>
                    <input type="submit" name="Grabar" id="Grabar" value="VERIFICAR" />
                  </label></td>
                </tr>     
                </table>
</form>

</body>
</html>
